package com.charles.reflect.entity;

public class User {

    private Integer id;

    private String userName;

    private String realName;

    private Byte sex;

    private String mobile;

    private String email;

    private String note;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public void eat(){
        System.out.println("开开心心的吃起来");
    }

    private void say(String something){
        System.out.println(something);
    }

    public void sing(String singName){
        System.out.println("唱了一首"+singName+"的歌，真是好听");
    }

    public User() {
    }

    public User(Integer id, String mobile, String email, String note) {
        this.id = id;
        this.mobile = mobile;
        this.email = email;
        this.note = note;
    }

    public User(Integer id, String userName, String realName, Byte sex) {
        this.id = id;
        this.userName = userName;
        this.realName = realName;
        this.sex = sex;
    }

    public User(Integer id, String userName) {
        this.id = id;
        this.userName = userName;
    }
}
